home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 6
/
Aminet 6 - June 1995.iso
/
Aminet
/
misc
/
amag
/
AM95012.lha
/
MegaEd
/
Beispiele
/
Hello1.c
< prev
next >
Encoding:
Amiga (detected)
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-12-10
|
241 b
|
19 lines
// Beispiel für MaxonC
#include <exec/types.h>
#include <dos/dos.h>
#include <clib/dos_protos.h>
BPTR open_con(void)
{
BPTR con;
con=Open("CON:0/0/640/100/World",MODE_NEWFILE);
return con;
}
void close_con(BPTR con)
{
Close(con);
}